package com.hilon.base.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class BaseSimple extends BaseSimpler implements Serializable {
    private String fullName;
    private String queryCode;
    private String creator;
    private String creatorBaseNo;
    private String editor;
    private String editorBaseNo;
    private String checker;
    private String checkerBaseNo;
    private String invalidPerson;
    private String invalidPersonBaseNo;
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;
    @Temporal(TemporalType.TIMESTAMP)
    private Date editTime;
    @Temporal(TemporalType.TIMESTAMP)
    private Date checkTime;
    @Temporal(TemporalType.TIMESTAMP)
    private Date invalidTime;
    private String strStatus;
}
//需要记录创建人等相关信息